package com.tsd.system.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysParameter;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：SysParameterMapper
 *
 * @author Hillpool
 * @date 2019/03/18 17:43:03
 */
public interface SysParameterMapper {

    SysParameter selectByPrimaryKey(Long id);

    int deleteByPrimaryKey(Long id);

    int insert(SysParameter record);

    int insertSelective(SysParameter record);

    int updateByPrimaryKey(SysParameter record);

    int updateByPrimaryKeySelective(SysParameter record);

    List<SysParameter> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<SysParameter> selectByParams(@Param("params") Map<String, Object> params);

    SysParameter selectByName(String name);

    SysParameter selectBySid(String sid);
}
